package week7;

import junit.framework.TestCase;

public class SheepTest extends TestCase {

    Sheep sp = new Sheep("喜羊羊",3);
    public void testEat() {
        System.out.println( sp.getName() + "eat grass");
    }

    public void testSleep() {
        System.out.println(sp.getName() + " sleep");
    }

    public void testIntroduction() {
        System.out.println("大家好！我是" + "编号为" + sp.getId() + "名字为：" + sp.getName() +"");
    }
}
